/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package com.nicolascarrascob.pds.serviciosoap.orm.dao;

import org.orm.*;
import com.nicolascarrascob.pds.serviciosoap.orm.*;

public interface PeliculaDAO {
	public Pelicula loadPeliculaByORMID(int id) throws PersistentException;
	public Pelicula getPeliculaByORMID(int id) throws PersistentException;
	public Pelicula loadPeliculaByORMID(int id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pelicula getPeliculaByORMID(int id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pelicula loadPeliculaByORMID(PersistentSession session, int id) throws PersistentException;
	public Pelicula getPeliculaByORMID(PersistentSession session, int id) throws PersistentException;
	public Pelicula loadPeliculaByORMID(PersistentSession session, int id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pelicula getPeliculaByORMID(PersistentSession session, int id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pelicula[] listPeliculaByQuery(String condition, String orderBy) throws PersistentException;
	public Pelicula[] listPeliculaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pelicula[] listPeliculaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Pelicula[] listPeliculaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pelicula loadPeliculaByQuery(String condition, String orderBy) throws PersistentException;
	public Pelicula loadPeliculaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pelicula loadPeliculaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Pelicula loadPeliculaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pelicula createPelicula();
	public boolean save(com.nicolascarrascob.pds.serviciosoap.orm.Pelicula pelicula) throws PersistentException;
	public boolean delete(com.nicolascarrascob.pds.serviciosoap.orm.Pelicula pelicula) throws PersistentException;
	public boolean deleteAndDissociate(com.nicolascarrascob.pds.serviciosoap.orm.Pelicula pelicula) throws PersistentException;
	public boolean deleteAndDissociate(com.nicolascarrascob.pds.serviciosoap.orm.Pelicula pelicula, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(com.nicolascarrascob.pds.serviciosoap.orm.Pelicula pelicula) throws PersistentException;
	public boolean evict(com.nicolascarrascob.pds.serviciosoap.orm.Pelicula pelicula) throws PersistentException;
	public Pelicula loadPeliculaByCriteria(PeliculaCriteria peliculaCriteria);
	public Pelicula[] listPeliculaByCriteria(PeliculaCriteria peliculaCriteria);
}
